/**
 * 
 */
package com.ez.supervise.dao;

import java.util.List;

import com.ez.supervise.core.Page;
import com.ez.supervise.dao.base.BaseDao;
import com.ez.supervise.model.biz.DemocracyGoal;

/**
 * @author searph.wang
 * @email searph.wang@gmail.com
 * @Created at 2009-7-22
 * 
 */
public interface DemocracyGoalDao extends BaseDao {

    /**
     * @param page
     * @return
     */
    int findDemocracyGoalByCount(Page page);

    /**
     * @return
     */
    List findAll();

    /**
     * @param page
     * @return
     */
    List findDemocracyGoalByPage(Page page);

    /**
     * @param page
     * @return
     */
    List findSettingByPage(Page page);

    /**
     * @param page
     * @return
     */
    int findSettingByCount(Page page);

    /**
     * @param year
     * @param orgType
     * @return
     */
    List<DemocracyGoal> findDemocracyGoal(Integer year, String orgType);

}
